<!-- Botões -->
<div class="row-fluid">
    <div class="span2 action-btn round-all">
        <a href="<?php echo $this->url('sisesporte-admin', array('controller' => 'profissao')) ?>" title="Consultar">
            <div><i class="icon-th-list"></i></div>
            <div><strong>Consultar</strong></div>
        </a>
    </div>
</div>
<!-- Fim Botões -->
<?php
if ($this->msg == TRUE) {
    echo '<script src="/js/sisesporte-admin/profissao/mensagem.js"></script>';
}
?>
<!-- Conteudo -->
<div class="row-fluid">
    <div class="span12 column" id="col0">
        <div class="box" id="box-0">
            <h4 class="box-header round-top">Cadastrar Profissão
                <a class="box-btn" title="close"><i class="icon-remove"></i></a>
                <a class="box-btn" title="toggle"><i class="icon-minus"></i></a>
                <a class="box-btn" title="config" data-toggle="modal" href="#box-config-modal"><i class="icon-cog"></i></a>
            </h4>
            <div class="box-container-toggle">
                <div class="box-content">
                    <?php
                    $form = $this->form;
                    $form->setAttribute('action', $this->url('sisesporte-admin', array('controller' => 'profissao', 'action' => 'new')));
                    $form->prepare();
                    echo $this->form()->openTag($form);
                    echo $this->formHidden($form->get('sqProfissao'));
                    echo $this->formHidden($form->get('stAtivo'));
                    ?>
                    <?php
                    if ($this->error != "") {
                        echo "<div class=\"alert alert-error\">
                                    <button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button>
                                    <strong>{$this->error}</strong>
                                </div>";
                    }
                    ?>
                    <fieldset>
                        <div class="control-group">
                            <?php echo $this->formRow($form->get('noProfissao')) ?>
                        </div>
                        <div class="form-actions">
                            <a class="btn btn-danger" href="<?php echo $this->url('sisesporte-admin-interna', array('controller' => 'profissao')); ?>">
                                Cancelar
                            </a>
                            <?php echo $this->formSubmit($form->get('submit')) ?>
                        </div>
                    </fieldset>
                    <?php
                    echo $this->form()->closeTag();
                    ?>
                </div>
            </div>
        </div><!--/span-->
    </div>
</div>

<script src="/js/sisesporte-admin/profissao/new.js"></script>
<script src="/js/sisesporte-admin/profissao/validate.js"></script>